/*
 * @Author: 孙大大
 * @Date: 2022-04-09 03:22:47
 * @LastEditTime: 2022-04-09 04:05:56
 * @FilePath: \黑马面面\src\router\modules\xueke.js
 */
import Layout from "@/layout";

const xuekeRouter = {
  path: "/xueke",
  component: Layout,
  name: "xueke",
  meta: {
    title: "学科管理",
    icon: "excel",
  },
  children: [
    {
      path: "",
      component: () => import("@/views/subjects"),
      name: "attendances",
    },
    {
      path: "object",
      name: "object",
      component: () => import("@/views/subjects/list.vue"),
      meta: {
        title: "学科",
        icon: "excel",
      },
    },
    {
      path: "mulu",
      name: "mulu",
      component: () => import("@/views/subjects/directorys"),
      meta: {
        title: "目录",
        icon: "excel",
      },
    },
    {
      path: "tags",
      name: "tags",
      component: () => import("@/views/subjects/tags"),
      meta: {
        title: "标签",
        icon: "excel",
      },
    },
  ],
};
export default xuekeRouter;
